package com.graduation.check.service;

import com.graduation.check.dto.*;
import com.graduation.check.entity.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface TeacherStudentService {
    
    /**
     * 获取学生列表
     */
    StudentListResponse getStudentList(StudentListRequest request);
    
    /**
     * 按班级分组获取学生
     */
    Map<String, Object> getStudentsByClass(String major);
    
    /**
     * 添加学生
     */
    User addStudent(AddStudentRequest request);
    
    /**
     * 更新学生信息
     */
    User updateStudent(Long studentId, UpdateStudentRequest request);
    
    /**
     * 删除学生
     */
    void deleteStudent(Long studentId);
    
    /**
     * 批量删除学生
     */
    Map<String, Object> batchDeleteStudents(List<Long> studentIds);
    
    /**
     * 批量导入学生
     */
    Map<String, Object> batchImportStudents(MultipartFile file);
    
    /**
     * 导出学生列表
     */
    String exportStudentList(StudentListRequest request);
}
